﻿using ClassLibrary1.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DataCodeDemo
{
    public partial class Form3 : Form
    {
        //private List<FilmPictureBox> filmPics = new List<FilmPictureBox>();
        public Form3()
        {
            //InitializeComponent();
            //int num = flowLayoutPanel1.Width / flowLayoutPanel1.Height;
            //for (int i = 0; i < num; i++)
            //{
            //    FilmPictureBox fp = new FilmPictureBox()
            //    {
            //       Height=flowLayoutPanel1.Height
            //    };
            //    filmPics.Add(fp);
            //}
            //flowLayoutPanel1.Controls.AddRange(filmPics.ToArray());

            //filmShowImageControl1.ImageWatcherPath = @"C:\Users\ldsb\Documents\Basedcam2 Files\Picture";
            //filmShowImageControl1.OnClickPicture += FilmShowImageControl1_OnClickPicture;
        }

        private void FilmShowImageControl1_OnClickPicture(object sender, string e)
        {
            //MessageBox.Show(e);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //filmShowImageControl1.Test();
        }

        private void flowLayoutPanel1_Resize(object sender, EventArgs e)
        {

        }
    }
}
